package com.example.mannortycoon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mannortycoon.entity.UserEntity;
import com.example.mannortycoon.entity.UserRelationShipEntity;
import com.example.mannortycoon.uitl.R;

import java.util.List;

public interface UserRelationShipService extends IService<UserRelationShipEntity> {
    R addRelationShip(Long userId, String code);

    R addRelationShip(Long userId, Long userId2);

    List<UserEntity> getRelationShipList(Long userId);

    R givePearl(Long userId1, String username, Double pearl);
}
